package org.hales.config.DataSource;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.boot.jdbc.DataSourceBuilder;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

import javax.sql.DataSource;

/**
 * postgre -数据源配置
 * @author 陈建康
 */
//@Configuration
public class PostgreSQLDataSourceConfig {/*
    @Bean(name = "MyPostgreSQLDB")
    @ConfigurationProperties(prefix = "spring.datasource.mpsqldb")
    public DataSource sqlServerDeYangDataSourceConfig() {
        return DataSourceBuilder.create().build();
    }
*/}
